`ifndef HIER_PIPE_H
`define HIER_PIPE_H

// Modify signal hierarchy here
`define PC          top.iaddr
`define STAT        top.stat
`define W_ICODE     top.U_cpu.U_wrtbak.w_icode
`define W_STAT      top.U_cpu.U_wrtbak.w_stat
`define CC          top.U_cpu.U_execute.U_regCC.e_cc
`define EAX         top.U_cpu.U_decode.U_regFile.eax
`define ECX         top.U_cpu.U_decode.U_regFile.ecx
`define EDX         top.U_cpu.U_decode.U_regFile.edx
`define EBX         top.U_cpu.U_decode.U_regFile.ebx
`define ESP         top.U_cpu.U_decode.U_regFile.esp
`define EBP         top.U_cpu.U_decode.U_regFile.ebp
`define ESI         top.U_cpu.U_decode.U_regFile.esi
`define EDI         top.U_cpu.U_decode.U_regFile.edi

`define BMEM0       top.U_mem.bank0.mem[i][7:0]
`define BMEM1       top.U_mem.bank1.mem[i][7:0]
`define BMEM2       top.U_mem.bank2.mem[i][7:0]
`define BMEM3       top.U_mem.bank3.mem[i][7:0]
`define BMEM4       top.U_mem.bank4.mem[i][7:0]
`define BMEM5       top.U_mem.bank5.mem[i][7:0]
`define BMEM6       top.U_mem.bank6.mem[i][7:0]
`define BMEM7       top.U_mem.bank7.mem[i][7:0]
`define BMEMSIZE    top.U_mem.memsize

`define FSTALL      top.U_cpu.F_stall
`define DSTALL      top.U_cpu.D_stall
`define ESTALL      top.U_cpu.E_stall
`define MSTALL      top.U_cpu.M_stall
`define WSTALL      top.U_cpu.W_stall
`endif
